body,html{
    height: 100vh;
}
body{
    perspective: 500;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.father{
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 500px;
    height: 300px;
    top: 50%;
    /* transform: translateY(-50%); */
    left: 50%;
    transform: translate(-50%,-50%);
    /* background-color: #CCC; */
}
.zhuangtai{
    display: flex;
    height: 50px;
    line-height: 50px;
    text-align: center;
    /* background-color: seashell; */
    font-size: 20px;
    font-weight: 700;
    color: black;
}
.zhuangtai>span{
    flex: 1;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.zhuangtai>.active{
    border-bottom: 2px solid skyblue ;
}
.box{
    width: 500px;
    height: 250px;
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: all .5s;
    /* transform: rotateY(10deg); */
}
/* .box:hover{
    transform: rotateY(180deg);
} */
.box1,.box2{
    position: absolute;
    padding-top: 15px;
    padding-right: 10px;
    top: 50px;
    width: 500px;
    height: 200px;
}
.box1{
    background-color: #ccc;
}
.box2{
    background-color: #ccc;
}

.box1{
    
    transform: rotateY(180deg);
}
.deg_180{
    transform: rotateY(180deg);
}
